import request from '@/utils/request'

// 校验状态是MANUAL的订单平台单号是否重复
export function checkTidIsUnique(data, oldPst) {
  return request({
    url: '/business/ordersStatus/checkTidIsUnique',
    method: 'post',
    data: data,
    params: { oldPst: oldPst }
  })
}

// 补全信息
export function getOrderStatusInfo(data) {
  return request({
    url: '/business/ordersStatus/getOrderStatusInfo',
    method: 'post',
    data: data,
  })
}

// 更新处理状态和处理时间
export function updateOrderStatus(data) {
  return request({
    url: '/business/ordersStatus/updateOrdersStatus',
    method: 'post',
    data: data
  })
}

